package com.xyz.entity.mapper;

import com.xyz.entity.pojo.PatrolTemplateTask;
import com.xyz.entity.pojo.PatrolTemplateTaskExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatrolTemplateTaskMapper {
    long countByExample(PatrolTemplateTaskExample example);

    int deleteByExample(PatrolTemplateTaskExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PatrolTemplateTask record);

    int insertSelective(PatrolTemplateTask record);

    List<PatrolTemplateTask> selectByExample(PatrolTemplateTaskExample example);

    PatrolTemplateTask selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PatrolTemplateTask record, @Param("example") PatrolTemplateTaskExample example);

    int updateByExample(@Param("record") PatrolTemplateTask record, @Param("example") PatrolTemplateTaskExample example);

    int updateByPrimaryKeySelective(PatrolTemplateTask record);

    int updateByPrimaryKey(PatrolTemplateTask record);
}